interface Calendar {
  name: string;
  addEvent: () => void;
  removeEvent: () => void;
}

// 拥有了Calendar的属性
export interface CloudCalendar extends Calendar{
    sync(): () => void;
}


